package com.dhf.framework.system.dao;

import java.util.List;

import com.dhf.framework.base.mybatis.core.dao.GenericDao;
import com.dhf.framework.system.entity.SysMenu;

/**
 * 描述：</b>SysMenuDao<br>
 * @author：my
 * @version:1.0
 */
public interface SysMenuDao extends GenericDao<SysMenu,Long>{
	
	public List<SysMenu> listAllByUserId(Long userId);
	
    public List<SysMenu> listSubMenuByParentId(String parentId);
    
    public void deleteByParentId(Long parentId);
    
    public SysMenu queryByMenuUrl(String menuUrl);
}

